//
//  ContactKefu.m
//  AppNew
//
//  Created by 华伟 on 2019/6/22.
//  Copyright © 2019 华伟. All rights reserved.
//

#import "ContactKefu.h"

@interface ContactKefu (){
    NSMutableArray *shotImgArray;
}
@property (weak, nonatomic) IBOutlet UIButton *qsType;
@property (weak, nonatomic) IBOutlet UIView *shotView;
@property (weak, nonatomic) IBOutlet UITextView *desc;

@end

@implementation ContactKefu
- (IBAction)sureAction:(id)sender {
    
    [self.navigationController popViewControllerAnimated:true];
    
}
- (IBAction)qsTypeAction:(UIButton *)sender {
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"联系客服";
    [self _settingView];
}
- (void)_settingView{
    shotImgArray = @[@"tianjia"].mutableCopy;
    CGFloat eachWidth = (_shotView.t_width-20)/3;
    CGFloat alignY = (_shotView.t_height - eachWidth)/2;
    for (int i = 0; i < shotImgArray.count; i++) {
        UIButton *btn = [UIButton new];
        btn.frame = CGRectMake((eachWidth+10)*i, alignY, eachWidth, eachWidth);
        [btn setImage:[UIImage imageNamed:shotImgArray[i]] forState:UIControlStateNormal];
        [_shotView addSubview:btn];
    }
    
}


@end
